package cn.yeziji.forum.config;

import org.springframework.context.annotation.Bean;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * Websocket 配置
 *
 * @author gzkemays
 * @since 2022/3/24 8:59
 */
// @Configuration
public class WebsocketConfig {
  @Bean
  public ServerEndpointExporter serverEndpointExporter() {
    return new ServerEndpointExporter();
  }
}
